<?php
require_once 'common/conn.php';

$db = new DBC();

$sql = "SELECT productid,name,usetimes FROM t_product WHERE status_en = 1 ORDER BY usetimes DESC LIMIT 0,10";
$data = $db->fetchData($sql);

echo json_encode($data);
?>
